package com.ruoyi.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.dto.OrderDTO;
import com.ruoyi.entity.BizOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 订单主表 Mapper 接口
 * </p>
 *
 * @author liuxing
 * @since 2020-10-28
 */
public interface BizOrderMapper extends BaseMapper<BizOrder> {

    Page<OrderDTO> selectList(Page page, @Param("plCode")String plCode, @Param("spaceCode")String spaceCode, @Param("plateNumber")String plateNumber,
                              @Param("startTime")String startTime, @Param("endTime")String endTime, @Param("orderStatus")String orderStatus, @Param("orderNo")String orderNo);

    OrderDTO getOrderSn(@Param("orderSn")String orderSn);
}
